function InitMap(environment)
	Spawn_0 = Spawn(0)
	Spawn_0:SetPosX(29)
	Spawn_0:SetPosY(14.1)
	Spawn_0:SetPosZ(18)
	Spawn_0:SetName("DefaultSpawn")
	Spawn_0:SetForceRotation(true)
	Spawn_0:SetRotation(0)
	environment:AddSpawn(Spawn_0)

	Spawn_1 = Spawn(1)
	Spawn_1:SetPosX(56)
	Spawn_1:SetPosY(14)
	Spawn_1:SetPosZ(20)
	Spawn_1:SetName("Xmas02-Spawn")
	environment:AddSpawn(Spawn_1)

	Spawn_2 = Spawn(2)
	Spawn_2:SetPosX(40)
	Spawn_2:SetPosY(2)
	Spawn_2:SetPosZ(59.5)
	Spawn_2:SetName("Xmas04-Spawn")
	environment:AddSpawn(Spawn_2)

	Actor_4 = ActorObjectInfo(4)
	Actor_4:SetRenderType(1)
	Actor_4.HitPowerOnTouch = -1
	Actor_4.ExcludeFromNavMesh = false
	Actor_4.DisplayDesc.ModelId = 0
	Actor_4.DisplayDesc.ModelName = "Worlds/colozen/Grids/Xmas11/Xmas03-11.osgb"
	Actor_4.DisplayDesc.Outfit = ""
	Actor_4.DisplayDesc.Weapon = ""
	Actor_4.DisplayDesc.Mode = ""
	Actor_4.DisplayDesc.UseLight = true
	Actor_4.DisplayDesc.CastShadow = true
	Actor_4.DisplayDesc.ColorR = 1
	Actor_4.DisplayDesc.ColorG = 1
	Actor_4.DisplayDesc.ColorB = 1
	Actor_4.DisplayDesc.ColorA = 1
	Actor_4.DisplayDesc.TransX = 0
	Actor_4.DisplayDesc.TransY = 0
	Actor_4.DisplayDesc.TransZ = 0
	Actor_4.DisplayDesc.ScaleX = 1
	Actor_4.DisplayDesc.ScaleY = 1
	Actor_4.DisplayDesc.ScaleZ = 1
	Actor_4.DisplayDesc.RotX = 0
	Actor_4.DisplayDesc.RotY = 0
	Actor_4.DisplayDesc.RotZ = 0
	Actor_4:SetModelState(2)
	Actor_4.DisplayDesc.UseBillboard = false
	Actor_4.PhysicDesc.Pos.X = 0
	Actor_4.PhysicDesc.Pos.Y = 0
	Actor_4.PhysicDesc.Pos.Z = 0
	Actor_4.PhysicDesc.Pos.Rotation = 0
	Actor_4.PhysicDesc.Density = 1
	Actor_4.PhysicDesc.Collidable = true
	Actor_4.PhysicDesc.SizeX = 1
	Actor_4.PhysicDesc.SizeY = 1
	Actor_4.PhysicDesc.SizeZ = 1
	Actor_4.PhysicDesc.AllowFreeMove = true
	Actor_4.PhysicDesc.Filename = "Worlds/colozen/Grids/Xmas11/Xmas03-11.phy"
	Actor_4:SetPhysicalActorType(1)
	Actor_4:SetPhysicalShape(5)
	Actor_4.ExtraInfo.Name = ""
	Actor_4.ExtraInfo.NameColorR = 1
	Actor_4.ExtraInfo.NameColorG = 1
	Actor_4.ExtraInfo.NameColorB = 1
	Actor_4.ExtraInfo.Display = false
	Actor_4.LifeInfo.Display = false
	Actor_4H = ActorHandler(Actor_4)
	environment:AddActorObject(Actor_4H)

	Actor_6 = ActorObjectInfo(6)
	Actor_6:SetRenderType(3)
	Actor_6.HitPowerOnTouch = -1
	Actor_6.ExcludeFromNavMesh = false
	Actor_6.DisplayDesc.ModelId = 0
	Actor_6.DisplayDesc.ModelName = "JoeElf"
	Actor_6.DisplayDesc.Outfit = "Green"
	Actor_6.DisplayDesc.Weapon = "No"
	Actor_6.DisplayDesc.Mode = "Normal"
	Actor_6.DisplayDesc.UseLight = true
	Actor_6.DisplayDesc.CastShadow = true
	Actor_6.DisplayDesc.ColorR = 1
	Actor_6.DisplayDesc.ColorG = 1
	Actor_6.DisplayDesc.ColorB = 1
	Actor_6.DisplayDesc.ColorA = 1
	Actor_6.DisplayDesc.TransX = 0
	Actor_6.DisplayDesc.TransY = 0
	Actor_6.DisplayDesc.TransZ = 0
	Actor_6.DisplayDesc.ScaleX = 1
	Actor_6.DisplayDesc.ScaleY = 1
	Actor_6.DisplayDesc.ScaleZ = 1
	Actor_6.DisplayDesc.RotX = 0
	Actor_6.DisplayDesc.RotY = 0
	Actor_6.DisplayDesc.RotZ = 0
	Actor_6:SetModelState(2)
	Actor_6.DisplayDesc.UseBillboard = false
	Actor_6.DisplayDesc.ColorMaterialType = 4
	Actor_6.DisplayDesc.MatAmbientColorR = -0.2
	Actor_6.DisplayDesc.MatAmbientColorG = -0.2
	Actor_6.DisplayDesc.MatAmbientColorB = -0.2
	Actor_6.DisplayDesc.MatAmbientColorA = 1
	Actor_6.DisplayDesc.MatDiffuseColorR = 0.4
	Actor_6.DisplayDesc.MatDiffuseColorG = 0.4
	Actor_6.DisplayDesc.MatDiffuseColorB = 0.4
	Actor_6.DisplayDesc.MatDiffuseColorA = 1
	Actor_6.DisplayDesc.MatSpecularColorR = 0
	Actor_6.DisplayDesc.MatSpecularColorG = 0
	Actor_6.DisplayDesc.MatSpecularColorB = 0
	Actor_6.DisplayDesc.MatSpecularColorA = 1
	Actor_6.DisplayDesc.MatEmissionColorR = 0
	Actor_6.DisplayDesc.MatEmissionColorG = 0
	Actor_6.DisplayDesc.MatEmissionColorB = 0
	Actor_6.DisplayDesc.MatEmissionColorA = 1
	Actor_6.DisplayDesc.MatShininess = 0
	Actor_6:AddColorSwap(1,112,229)
	Actor_6.PhysicDesc.Pos.X = 28.5
	Actor_6.PhysicDesc.Pos.Y = 14
	Actor_6.PhysicDesc.Pos.Z = 18.1
	Actor_6.PhysicDesc.Pos.Rotation = 0
	Actor_6.PhysicDesc.Density = 1
	Actor_6.PhysicDesc.Collidable = true
	Actor_6.PhysicDesc.SizeX = 1
	Actor_6.PhysicDesc.SizeY = 3
	Actor_6.PhysicDesc.SizeZ = 1
	Actor_6.PhysicDesc.AllowFreeMove = true
	Actor_6.PhysicDesc.Filename = ""
	Actor_6:SetPhysicalActorType(2)
	Actor_6:SetPhysicalShape(2)
	Actor_6.ExtraInfo.Name = ""
	Actor_6.ExtraInfo.NameColorR = 1
	Actor_6.ExtraInfo.NameColorG = 1
	Actor_6.ExtraInfo.NameColorB = 1
	Actor_6.ExtraInfo.Display = false
	Actor_6.LifeInfo.Display = false
	Actor_6H = NPCHandler(Actor_6)
	Actor_6H_dia = DialogPart()
	Actor_6H_dia:SetResetDialog(false)
	Actor_6H_dia_c0 = DialogPart()
	Actor_6H_dia_c0_cond = QuestAvailableCondition()
	Actor_6H_dia_c0_cond:SetTextid(-1)
	Actor_6H_dia_c0_cond:SetQuestId(2)
	Actor_6H_dia_c0:Setcondition(Actor_6H_dia_c0_cond)
	Actor_6H_dia_c0:SetResetDialog(false)
	Actor_6H_dia_c0:AddText(7)
	Actor_6H_dia_c0_c0 = DialogPart()
	Actor_6H_dia_c0_c0_act = StartQuestAction()
	Actor_6H_dia_c0_c0_act:SetQuestId(2)
	Actor_6H_dia_c0_c0:SetAction(Actor_6H_dia_c0_c0_act)
	Actor_6H_dia_c0_c0:SetResetDialog(false)
	Actor_6H_dia_c0_c0:AddText(5)
	Actor_6H_dia_c0_c0_c0 = DialogPart()
	Actor_6H_dia_c0_c0_c0:SetResetDialog(false)
	Actor_6H_dia_c0_c0_c0:AddText(10)
	Actor_6H_dia_c0_c0:AddChild(Actor_6H_dia_c0_c0_c0)
	Actor_6H_dia_c0:AddChild(Actor_6H_dia_c0_c0)
	Actor_6H_dia_c0_c1 = DialogPart()
	Actor_6H_dia_c0_c1:SetResetDialog(false)
	Actor_6H_dia_c0_c1:AddText(38)
	Actor_6H_dia_c0:AddChild(Actor_6H_dia_c0_c1)
	Actor_6H_dia:AddChild(Actor_6H_dia_c0)
	Actor_6H_dia_c1 = DialogPart()
	Actor_6H_dia_c1_cond = QuestStartedCondition()
	Actor_6H_dia_c1_cond:SetTextid(-1)
	Actor_6H_dia_c1_cond:SetQuestId(2)
	Actor_6H_dia_c1:Setcondition(Actor_6H_dia_c1_cond)
	Actor_6H_dia_c1:SetResetDialog(false)
	Actor_6H_dia_c1:AddText(10)
	Actor_6H_dia:AddChild(Actor_6H_dia_c1)
	Actor_6H_dia_c2 = DialogPart()
	Actor_6H_dia_c2_cond = QuestFinishedCondition()
	Actor_6H_dia_c2_cond:SetTextid(-1)
	Actor_6H_dia_c2_cond:SetQuestId(2)
	Actor_6H_dia_c2:Setcondition(Actor_6H_dia_c2_cond)
	Actor_6H_dia_c2:SetResetDialog(false)
	Actor_6H_dia_c2:AddText(39)
	Actor_6H_dia:AddChild(Actor_6H_dia_c2)
	Actor_6H:SetRootDialog(Actor_6H_dia)
	Actor_6H:SetNpcName(-1)
	Actor_6H:SetSimpleDialog(false)
	environment:AddActorObject(Actor_6H)

	Actor_7 = ActorObjectInfo(7)
	Actor_7:SetRenderType(0)
	Actor_7.HitPowerOnTouch = -1
	Actor_7.ExcludeFromNavMesh = false
	Actor_7.DisplayDesc.ModelId = 0
	Actor_7.DisplayDesc.ModelName = ""
	Actor_7.DisplayDesc.Outfit = ""
	Actor_7.DisplayDesc.Weapon = ""
	Actor_7.DisplayDesc.Mode = ""
	Actor_7.DisplayDesc.UseLight = true
	Actor_7.DisplayDesc.CastShadow = true
	Actor_7.DisplayDesc.ColorR = 1
	Actor_7.DisplayDesc.ColorG = 1
	Actor_7.DisplayDesc.ColorB = 1
	Actor_7.DisplayDesc.ColorA = 1
	Actor_7.DisplayDesc.TransX = 0
	Actor_7.DisplayDesc.TransY = 0
	Actor_7.DisplayDesc.TransZ = 0
	Actor_7.DisplayDesc.ScaleX = 1
	Actor_7.DisplayDesc.ScaleY = 1
	Actor_7.DisplayDesc.ScaleZ = 1
	Actor_7.DisplayDesc.RotX = 0
	Actor_7.DisplayDesc.RotY = 0
	Actor_7.DisplayDesc.RotZ = 0
	Actor_7:SetModelState(2)
	Actor_7.DisplayDesc.UseBillboard = false
	Actor_7.PhysicDesc.Pos.X = 40
	Actor_7.PhysicDesc.Pos.Y = 1
	Actor_7.PhysicDesc.Pos.Z = 62.4
	Actor_7.PhysicDesc.Pos.Rotation = 0
	Actor_7.PhysicDesc.Density = 1
	Actor_7.PhysicDesc.Collidable = true
	Actor_7.PhysicDesc.SizeX = 2
	Actor_7.PhysicDesc.SizeY = 10
	Actor_7.PhysicDesc.SizeZ = 1
	Actor_7.PhysicDesc.AllowFreeMove = true
	Actor_7.PhysicDesc.Filename = ""
	Actor_7:SetPhysicalActorType(1)
	Actor_7:SetPhysicalShape(2)
	Actor_7.ExtraInfo.Name = ""
	Actor_7.ExtraInfo.NameColorR = 1
	Actor_7.ExtraInfo.NameColorG = 1
	Actor_7.ExtraInfo.NameColorB = 1
	Actor_7.ExtraInfo.Display = false
	Actor_7.LifeInfo.Display = false
	Actor_7H = ActorHandler(Actor_7)
	environment:AddActorObject(Actor_7H)

	Actor_8 = ActorObjectInfo(8)
	Actor_8:SetRenderType(0)
	Actor_8.HitPowerOnTouch = -1
	Actor_8.ExcludeFromNavMesh = false
	Actor_8.DisplayDesc.ModelId = 0
	Actor_8.DisplayDesc.ModelName = ""
	Actor_8.DisplayDesc.Outfit = ""
	Actor_8.DisplayDesc.Weapon = ""
	Actor_8.DisplayDesc.Mode = ""
	Actor_8.DisplayDesc.UseLight = true
	Actor_8.DisplayDesc.CastShadow = true
	Actor_8.DisplayDesc.ColorR = 1
	Actor_8.DisplayDesc.ColorG = 1
	Actor_8.DisplayDesc.ColorB = 1
	Actor_8.DisplayDesc.ColorA = 1
	Actor_8.DisplayDesc.TransX = 0
	Actor_8.DisplayDesc.TransY = 0
	Actor_8.DisplayDesc.TransZ = 0
	Actor_8.DisplayDesc.ScaleX = 1
	Actor_8.DisplayDesc.ScaleY = 1
	Actor_8.DisplayDesc.ScaleZ = 1
	Actor_8.DisplayDesc.RotX = 0
	Actor_8.DisplayDesc.RotY = 0
	Actor_8.DisplayDesc.RotZ = 0
	Actor_8:SetModelState(2)
	Actor_8.DisplayDesc.UseBillboard = false
	Actor_8.PhysicDesc.Pos.X = 59.5
	Actor_8.PhysicDesc.Pos.Y = 15
	Actor_8.PhysicDesc.Pos.Z = 20
	Actor_8.PhysicDesc.Pos.Rotation = 0
	Actor_8.PhysicDesc.Density = 1
	Actor_8.PhysicDesc.Collidable = true
	Actor_8.PhysicDesc.SizeX = 1
	Actor_8.PhysicDesc.SizeY = 10
	Actor_8.PhysicDesc.SizeZ = 2
	Actor_8.PhysicDesc.AllowFreeMove = true
	Actor_8.PhysicDesc.Filename = ""
	Actor_8:SetPhysicalActorType(1)
	Actor_8:SetPhysicalShape(2)
	Actor_8.ExtraInfo.Name = ""
	Actor_8.ExtraInfo.NameColorR = 1
	Actor_8.ExtraInfo.NameColorG = 1
	Actor_8.ExtraInfo.NameColorB = 1
	Actor_8.ExtraInfo.Display = false
	Actor_8.LifeInfo.Display = false
	Actor_8H = ActorHandler(Actor_8)
	environment:AddActorObject(Actor_8H)

	Trigger_1_info = TriggerInfo(1, "Exit-Xmas02", true, true, false)
	Trigger_1 = ZoneTrigger(Trigger_1_info, 1, 10, 2, true)
	Trigger_1:SetPosition(58.5, 15, 20)
	Trigger_1:SetStayUpdateFrequency(-1)
	Trigger_1:SetActivateOnJump(true)
	Trigger_1_act1 = TeleportAction()
	Trigger_1_act1:SetMapName("xmas11-02")
	Trigger_1_act1:SetSpawning(3)
	Trigger_1:SetAction1(Trigger_1_act1)
	environment:AddTrigger(Trigger_1)

	Trigger_2_info = TriggerInfo(2, "Exit-Xmas04", true, true, false)
	Trigger_2 = ZoneTrigger(Trigger_2_info, 2, 10, 1, true)
	Trigger_2:SetPosition(40, 1, 61.5)
	Trigger_2:SetStayUpdateFrequency(-1)
	Trigger_2:SetActivateOnJump(true)
	Trigger_2_act1 = TeleportAction()
	Trigger_2_act1:SetMapName("xmas11-04")
	Trigger_2_act1:SetSpawning(1)
	Trigger_2:SetAction1(Trigger_2_act1)
	environment:AddTrigger(Trigger_2)

end
